<%@page import="java.sql.DriverManager"%>
<%@page import="com.mysql.jdbc.Connection"%>
<%@page import="com.training.vo.Employee"%>
<%@page import="com.training.dao.EmployeeDAO"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	<%!Employee employee = null;%>

	<%
		EmployeeDAO employeeDAO = new EmployeeDAO();
		employee = employeeDAO.isValidUser("ajith", "007");
		 
	%>

	<h3 style="background-color: red">
		First Name :
		<%=employee.getFirstName()%></h3>
	<font style="color: blue">Last Name :</font>
	<%=employee.getLastName()%>


</body>
</html>